// 模块式开发
import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

// 引入小仓库
import menu from './menu'
import user from './user'
import role from './role'
import perms from './perms'
import count from './count'
import file from './file'
import sys from './sys'
import comment from './comment'
import im from './im'
import notice from './notice'

export default new Vuex.Store({
    // 实现Vuex仓库模式开发存储数据
    modules:{
        menu,
        user,
        role,
        perms,
        count,
        file,
        sys,
        comment,
        im,
        notice
    }
})

